from django.test import TestCase

# Create your tests here.

import os
from datetime import datetime
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'KG_manage.settings')
import django
django.setup()

from kg_code_manage import models

objs = models.Api_manage.objects.all()
for obj in objs:
    print(obj.type.name)


